Package com.bitmovin.player.api.source

Types

Link copied to clipboard
abstract class AdaptiveSource : MediaSource
Base class for all adaptive media sources.
Link copied to clipboard
open class DASHSource : AdaptiveSource
Represents a DASH media source.
Link copied to clipboard
open class HLSSource : AdaptiveSource
Represents a HLS media source.
Link copied to clipboard
enum LoadingState : Enum<LoadingState>

Contains the different loading states a Source can be in.

Link copied to clipboard
abstract class MediaSource : Parcelable
Base class for all media sources.
Link copied to clipboard
open class ProgressiveSource : MediaSource
Represents a progressive media source.
Link copied to clipboard
open class SmoothSource : AdaptiveSource
Represents a Smooth Streaming media source.
Link copied to clipboard
interface Source : EventEmitter<SourceEvent>

Represents audio and video content that can be loaded into a Player to start a playback session. A source instance can be created via the Source.create function and will idle until it is loaded into a player. After loading the source into a player, isAttachedToPlayer is true and the same source can not be loaded into a different player until unloaded.

Link copied to clipboard
open class SourceConfig(url: String, type: SourceType, title: String?, description: String?, posterSource: String?, isPosterPersistent: Boolean, subtitleTracks: List<SubtitleTrack>, thumbnailTrack: ThumbnailTrack?, drmConfig: DrmConfig?, labelingConfig: LabelingConfig, vrConfig: VrConfig, videoCodecPriority: List<String>, audioCodecPriority: List<String>, options: SourceOptions, metadata: Map<String, String>?) : Parcelable

Configures a Source that can be loaded into a Player.

Link copied to clipboard
data class SourceOptions(startOffset: Double?, startOffsetTimelineReference: TimelineReferencePoint?) : Parcelable
Link copied to clipboard
enum SourceType : Enum<SourceType> , Parcelable

Available types for a Source.

Link copied to clipboard
enum TimelineReferencePoint : Enum<TimelineReferencePoint> , Parcelable

Reference points on a timeline to allow definition of relative offsets.